﻿namespace AiMoWindows.Windows.InputString
{
    internal class InputStringViewModel : ChangeLanguageViewModelBase
    {
        readonly InputStringDialog owner;
        public InputStringViewModel(InputStringDialog ownerWindow) : base()
        {
            owner = ownerWindow;
        }
        string _InputString = "";
        public string InputStringText
        {
            get => _InputString;
            set
            {
                _InputString = value;
                RaisePropertyChanged(nameof(InputStringText));
            }
        }
        public string TitleText => IsEnglish ? owner.TitleEN : owner.TitleCN;
        public string LabelText => IsEnglish ? owner.LabelEN : owner.LabelCN;
        public string CancelButtonText => IsEnglish ? "Cancel" : "取消";
        public string OKButtonText => IsEnglish ? "OK" : "确认";

    }
}
